package cn.sofwin.sb.dao;

import cn.sofwin.sb.entity.User;
import org.springframework.stereotype.Component;

import java.util.ArrayList;
import java.util.List;

@Component
public class UserDao {

    public User selectUserByid(Integer uid){
        User user1=new User();
        user1.setId(1);
        user1.setUsername("vb");
        user1.setPassword("123");
        user1.setNickname("nk");
       return  user1;
    }
}
